using System.ComponentModel.DataAnnotations;

namespace FileStorageService.Files.Enums;

/// <summary>
/// 文件类型枚举
/// </summary>
public enum FileType
{
    /// <summary>
    /// 图片文件
    /// </summary>
    [Display(Name = "图片")]
    Image = 1,

    /// <summary>
    /// 视频文件
    /// </summary>
    [Display(Name = "视频")]
    Video = 2,

    /// <summary>
    /// 音频文件
    /// </summary>
    [Display(Name = "音频")]
    Audio = 3,

    /// <summary>
    /// 文档文件
    /// </summary>
    [Display(Name = "文档")]
    Document = 4,

    /// <summary>
    /// 压缩文件
    /// </summary>
    [Display(Name = "压缩包")]
    Archive = 5,

    /// <summary>
    /// 其他文件
    /// </summary>
    [Display(Name = "其他")]
    Other = 99
}